<%@page import="java.io.File"%>
<%@page import="nnweboa.UrlContent"%>
<%@page import="java.util.ArrayList"%>
<%@page import="nnweboa.URlManager"%>
<%@page import="nnweboa.Unitls"%> 
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<body>
	<%
		String cookiename = Unitls.getCookieName(request);
		int userright = Unitls.getUserRightBycookieName(cookiename,out);

		URlManager urlmanager = new URlManager(userright,
				getServletContext().getRealPath(""));
	%>

	<table id="tablelist">
		<%
			for (ArrayList<UrlContent> iter = urlmanager.getlist(); iter != null; iter = urlmanager
					.getlist()) {
		%>
		<tr>
			<%
				for (int i = 0; i < iter.size(); i++) {
			%>
			<td><a href="function.jsp?type=<%=iter.get(i).gettype()%>"
				target="fmm"><%=iter.get(i).gettext()%></a>
			</td>
			<%
				}
			%>
		</tr>
		<%
			}
		%>
	</table>
</body>